﻿using System;
using System.Collections.Generic;

namespace MyHomeworkWebAPi.Models;

public partial class Interaction
{
    /// <summary>
    /// 互动行为id
    /// </summary>
    public Guid InteractionId { get; set; }

    /// <summary>
    /// 用户id
    /// </summary>
    public Guid UserId { get; set; }

    /// <summary>
    /// 商品id
    /// </summary>
    public Guid ProductId { get; set; }

    /// <summary>
    /// 类型（1：收藏；2：浏览）
    /// </summary>
    public int Type { get; set; }

    /// <summary>
    /// 时间
    /// </summary>
    public DateTime CreateTime { get; set; }

    public virtual Product Product { get; set; } = null!;

    public virtual User User { get; set; } = null!;
}
